Revert 23733:fbf3768e5934 "AMD IOMMU: remove global ..."
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 16 Aug 2011 14:04:19 +0000 (15:04 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 16 Aug 2011 14:04:19 +0000 (15:04 +0100)
commit6067ef23ef446ef062633323293fc67e493475bf
tree56220ff14db044327b6d179b0d8e1319629799b5
parentd8f18bf62ed7fbf714c304e63ae78db958fc082e
Revert 23733:fbf3768e5934 "AMD IOMMU: remove global ..."

23733:fbf3768e5934 causes xen-unstable not to boot on several of the
xen.org AMD test systems.  We get an endless series of these:

  (XEN) AMD-Vi: IO_PAGE_FAULT: domain = 0, device id = 0x00a0, fault
  address = 0xfdf8f10144

I have constructed the attached patch which reverts c/s 23733
(adjusted for conflicts due to subsequent patches).  With this
reversion Xen once more boots on these machines.

23733 has been in the tree for some time now, causing this breakage,
and has already been fingered by the automatic bisector and discussed
on xen-devel as the cause of boot failures.  I think it is now time to
revert it pending a correct fix to the original problem.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen/drivers/passthrough/amd/iommu_acpi.c
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/amd/iommu_intr.c
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/iommu.c
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h
xen/include/xen/iommu.h